package com.catt.orderdinner.common;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;

public class dateUtils {
    private static DateFormat dateFormat;

    public static String formatTime(Date date){
        if (dateFormat==null){
            dateFormat = new SimpleDateFormat("yyyy年MM月dd日 kk:mm");
        }
        String format = dateFormat.format(date);
        return format;
    }

}
